package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.MedicationRecord;
import com.ruoyi.system.mapper.NewsReportMapper;
import com.ruoyi.system.mapper.UseMedicineMapper;
import com.ruoyi.system.service.IUseMedicineService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class UseMedicineServiceImpl implements IUseMedicineService {

    @Autowired
    private UseMedicineMapper useMedicineMapper;
    @Override
    public List<MedicationRecord> listUseMedicine(MedicationRecord medicine) {
        return useMedicineMapper.listUseMedicine(medicine);
    }
}
